package com.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.Address;

public interface AddressDao {
	/**
	 *  查询属于用户的所有地址
	 */
	List <Address> QueryAddressByCid(@Param("cid")int cid);
	/**
	 *  查询属于用户姓名
	 */
	Address QueryAddressName(@Param("cid")int cid,@Param("address")String address);
	/**
	 * 新增用户地址		
	 */
	int InsertAddressInfo(Address address);
	/**
	 * 删除用户
	 */
	int delectAddress(@Param("aid") int aid);
	
	int  updateAddress(Address address);
}
